<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>宠物医院</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
    <link th:href="@{/img/pet2.jpg}" rel="shortcut icon">
</head>

<body>
<!--顶部导航栏-->
<div th:replace="~{comment/comment::topbar}"></div>
<div class="container-fluid">
    <div class="row">
        <!--侧边导航栏-->
        <div th:replace="~{comment/comment::sidebar(active='user/userInfo.html')}"></div>
        <!--主视图-->
        <main role="main" class="col-md-9 ml-sm-auto col-lg-11 pt-3 px-4">
            <form th:action="@{/evaluate}" method="post">
                <div class="form-group">
                    <label>评价</label>
                    <textarea class="form-control" rows="3" name="evaluate"></textarea>
                </div>
                <div class="form-group">
                    <label>请选择姓名</label>
                    <select class="form-control" name="eName">
                            <option th:each="u:${users}" th:text="${u.getName()}" th:value="${u.getName()}"></option>
                    </select>
                </div>
                <div class="row">
                    <div class="col-md-11 column">
                        <button class="btn btn-lg btn-primary btn-block" type="submit">提交评价</button>
                    </div>
                    <div class="col-md-1 column">
                        <a class="btn btn-lg btn-primary" th:href="@{/getEvaluate}">返回</a>
                    </div>
                </div>
            </form>
        </main>
    </div>
</div>
</body>

</html>